<script setup lang="ts">
defineOptions({
  name: 'DocNavBar'
})

withDefaults(
  defineProps<{
    title?: string
    rightText?: string
  }>(),
  {
    title: '',
    rightText: ''
  }
)
import { NavBar } from 'vant'
</script>

<template>
  <NavBar fixed placeholder left-arrow :right-text="rightText" :title="title"></NavBar>
</template>
